.PHONY:all
all:otherExe mycommand
mycommand:mycommand.c
	gcc -o $@ $^
otherExe:otherExe.cc
	g++ -o $@ $^

.PHONY:clean	
clean:
	rm -f mycommand otherExe
